package com.medical.service.impl;

import com.medical.entity.InspectionEntity;
import com.medical.entity.UserEntity;
import com.medical.mapper.InspectionMapper;
import com.medical.service.InspectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InspectionServiceImpl implements InspectionService {
    @Autowired
    InspectionMapper inspectionMapper;

    @Override
    public List<InspectionEntity> selectByUserName(UserEntity userEntity) {
        return inspectionMapper.selectByUserName(userEntity);
    }

}
